package com.ming.mq.simple;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SimpleConfig {

    public static final String SIMPLEQUEUE = "SimpleQueue";
    @Bean
    public Queue directQueue(){
        return new Queue("SimpleQueue",true);
    }

}
